<button mat-menu-item *ngIf="link.capturing" (click)="stopCapture()">
  <mat-icon>pause_circle_filled</mat-icon>
  <span>Stop capture</span>
</button>
